package com.niit.search.service;

import com.niit.search.entity.Activity;
import java.util.List;

public interface ActivityService {
    List<Activity> searchActivity(String keyword);
    
    /**
     * 根据话题ID查询相关动态
     * @param topicId 话题ID
     * @return 相关动态列表
     */
    List<Activity> findActivitiesByTopicId(Long topicId);
}